<?php
class ActionPollsQuestion extends AppModel{
    
    public $belongsTo = array(
        'ActionPoll' => array(
            'foreignKey' => 'action_polls_id'
        )
    );
    
    public $hasMany = array(
        'ActionPollsChoice' => array(
            'foreignKey' => 'questions_id'            
        ),
        'ActionPollsUsersChoice' => array(
            'foreignKey' => 'questions_id'  
        )
    );
    
}
?>
